package com.zy.je.common.core.constant;

/**
 * @author zy
 */
public interface SysConstant {

    /**
     * 字典分类
     */
    enum Tree {
        /**
         * 0-根节点
         */
        ROOT_ID("0"),
        ;
        private String value;

        Tree(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

    enum YesNo {
        YES("1"),
        NO("0"),
        ;
        private String value;

        YesNo(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

    enum Defult {
        /**
         * all
         */
        ALL("all"),
        ;
        private String value;

        Defult(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

    enum Sql {
        limit_1(" limit 1"),
        ;
        private String value;

        Sql(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }
}
